package com.example.demo2.service;

import com.example.demo2.pojo.PageBean;
import com.example.demo2.pojo.data.SupplierDO;
import com.example.demo2.utils.Result;
import com.example.demo2.pojo.vo.SupplierVO;

/** 
 * <br/>
 * Created by weidong on 2020/02/16
 */
public interface SupplierService {

	Result add(SupplierVO supplierVO) throws Exception;

	Result updateById(SupplierVO supplierVO) throws Exception;
	
	Result findById(Integer id) throws Exception;
	
	Result list(SupplierVO supplierVO) throws Exception;

   PageBean listPage(SupplierVO supplierVO) throws Exception;
	
	Result count(SupplierVO supplierVO) throws Exception;
	
	Result deleteById(Integer id) throws Exception;

    SupplierDO findSupplierName(Integer id) throws Exception;
}